<div class="container">
<style>
body{
	overflow-x:hidden;
}
</style>
<h2><span class="title">Quotation</span></h2>

{{$this->Form->create('FeedBack',array('class'=>'form-horizontal','role'=>'form'))}}
<small>Write your requirements here.</small>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackQuotation">Quotation<span style="color:red;">*</span></label>
		<div class="col-sm-9 controls">
			{{$this->Form->input('quotation',array('class'=>'form-control','required'=>'required','rows'=>5,'div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackName">Your Name<span style="color:red;">*</span></label>
		<div class="col-sm-9 controls">
			{{$this->Form->input('name',array('class'=>'form-control','required'=>'required','div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackPhone">Phone<span style="color:red;">*</span></label>
		<div class="col-sm-9">
			{{$this->Form->input('phone',array('type'=>'text','class'=>'form-control','div'=>false,'label'=>false,))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackEmail">Email</label>
		<div class="col-sm-9">
			{{$this->Form->input('email',array('type'=>'email','class'=>'form-control','div'=>false,'label'=>false,))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackQQ">Your Company</label>
		<div class="col-sm-9">
			{{$this->Form->input('company',array('class'=>'form-control','div'=>false,'label'=>false,))}}
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="FeedBackName"></label>
		<div class="col-sm-9"><input onclick="return checkFeedbackForm();" class="btn btn-primary" style="width:100%;display:block;" type="submit" value="Submit"></div>
	</div>
{{$this->Form->end()}}

<script>
function checkFeedbackForm(){
	if($('#FeedBackQuotation').val()==""){
		alert("Please input your quotation.");
		$('#FeedBackQuotation').focus();
		return false;
	}
}
</script>
</div>
